package com.zhiyun.message;

import java.util.List;

import com.zhiyun.net.Pair;
import com.zhiyun.net.Request;

public class RegistRequest extends Request {

	private String phoneNo;
	private String password;
	private String referrer;

	@Override
	public List<Pair> getParams() {
		return Pair.p("phoneNo", phoneNo).p("password", password)
				.p("referrer", referrer).get();
	}

	@Override
	public void genMetaData() {
		this.setActionPath("a/regist");

	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getReferrer() {
		return referrer;
	}

	public void setReferrer(String referrer) {
		this.referrer = referrer;
	}

}
